package com.ysu.his.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;

@Data
public class RegistrationDto
{
    //唯一标识
    private Long id;

    //患者姓名
    private String patientName;

    //身份证号码
    private String idCard;

    //电话号码
    private String phoneNumber;

    //性别
    private String gender;

    //出生日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate birthDate;

    //医保卡号
    private String insuranceCardNo;

    //科室id
    private Long departmentId;

    //医生id
    private Long doctorId;
}
